package com.example.myhotel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.myhotel.entity.Customers;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CustomersMapper extends BaseMapper<Customers> {
    @Select("SELECT * FROM `customers`")
    public List<Customers> getAll();
}
